<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/23
 * Time: 17:25
 */

namespace app\admin\validate;

use think\Validate;

class RoleMenusValidate extends Validate
{
    protected $rule = [
        'menu_ids|菜单名' => 'require'
    ];

    protected $message = [
        'menu_ids' => '请至少选择一个菜单！'
    ];
}